<template>
    <div class="hot-goods">
        <div class="title-en">TOP SELLER </div>
        <div class="goods-item" v-for="item in 3" :key="item">
            <div>
                <div class="pic"><img src="@/assets/img/common/goods.jpg" alt=""></div>
            </div>
            <div class="goods-info">
                <div>商品名称</div>
                <div>￥价格</div>
            </div>
        </div>

    </div>
</template>

<script>
    export default {
        name: "HotGoods"
    }
</script>

<style scoped>
    .hot-goods {
        margin-top: 20px;
    }
    .title-en {
        font-style: italic;
        font-weight: bold;
        text-align: left;
        font-size: 20px;
        padding-bottom: 5px;
        border-bottom: 1px solid #000000;
    }
    .goods-item {
        display: flex;
        justify-content: space-around;
        font-size: 14px;
        margin-top: 5px;
        cursor:pointer;
    }
    .goods-item:hover {
        border: 2px solid rgb(255, 69, 0);
        color: rgb(255, 69, 0);
    }

    .pic {
        width: 80px;
    }
    img {
        width: 100%;
    }
    .goods-info {
        display: flex;
        flex-flow: column nowrap;
        justify-content: space-around;
        padding: 20px 0;
    }
</style>